package com.yanqu.road.server.timer.feast;

import com.yanqu.road.server.manager.activity.feast.CrossFeastMgr;
import com.yanqu.road.server.manager.activity.feast.activity.CrossFeastActivity;
import com.yanqu.road.utils.executor.GeneralTask;

/**
 * 同步房间操作
 * 0.1s一次
 */
public class CrossFeastSyncRoomOpTask extends GeneralTask {
    @Override
    public void doRun() {
        for (CrossFeastActivity activity : CrossFeastMgr.getActivityMap().values()) {
            try {
                activity.syncRoomOpTask();
            } catch (Exception e) {
                e.printStackTrace();
            }
        }
    }
}
